<?php

class TemplateShortcuts
{
	public static function render_template_response($tmpl_filename,
		array $options=NULL)
	{
		$t = new Template($tmpl_filename, new TemplateContext($options));
		return $t->render();
	}
}

?>